/**
 * @description: 项目管理
 * @version: 0.0.1
 * @author: ljr
 * @Date: 2023-09-12 11:33:58
 */
import {
  Table,
  Model,
  Column,
  DataType,
} from 'sequelize-typescript';

@Table({ tableName: 'project_order_contact' })
export class ProOrderContact extends Model {
  @Column({
    primaryKey: true,       //主键
    autoIncrement: true,    //自增
    comment: "自增id"       //注释:只在代码中有效
  })
  id: number;
  
  @Column(DataType.INTEGER)
  proj_id: number;     //负责人id

  @Column(DataType.INTEGER)
  order_id: number;//创建人id
}